package com.laopan.wxpay.bean.callback;

import com.google.gson.annotations.SerializedName;

/**
 * <p>
 *
 * </p>
 *
 * @author laopan
 * @className PayCallBack
 * @date 2021/3/6 10:02
 */

public class PayCallBackResult {
    /**
     * 通知的唯一ID
     */
    private String id;

    /**
     * 通知创建时间
     */
    @SerializedName("create_time")
    private String createTime;

    /**
     * 通知类型 支付成功通知的类型为TRANSACTION.SUCCESS
     */
    @SerializedName("event_type")
    private String eventType;

    /**
     * 通知数据类型 支付成功通知为encrypt-resource
     */
    @SerializedName("resource_type")
    private String resourceType;

    /**
     * 通知资源数据
     */
    private Resource resource;

    /**
     * 回调摘要
     */
    private String summary;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public Resource getResource() {
        return resource;
    }

    public void setResource(Resource resource) {
        this.resource = resource;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }
}
